package com.wx.mall.sys.mapper;

import com.wx.mall.sys.entity.LogisticsCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wx.mall.sys.vo.reqVo.LogisticsCompanyPageVO;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物流公司 Mapper 接口
 * </p>
 *
 * @author j
 * @since 2020-03-25
 */
public interface LogisticsCompanyMapper extends BaseMapper<LogisticsCompany> {

    List<LogisticsCompany> findPage(LogisticsCompanyPageVO vo);

    Integer updateByIdGetState(@Param("id") Integer id, @Param("state") Integer state);

    LogisticsCompany findById(@Param("id") Integer id);

     int updateOne(LogisticsCompany logisticsCompany);
}
